package com.yic.module.device.controller.admin.inspectionPlan.vo;

import com.yic.module.device.controller.admin.device.vo.DeviceSimpleRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 巡检计划 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InspectionPlanRespVO extends InspectionPlanBaseVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;

    @Schema(description = "计划人员", requiredMode = Schema.RequiredMode.REQUIRED)
    private String nickname;

    @Schema(description = "巡检设备列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<DeviceSimpleRespVO> deviceList;

}
